package com.sokal.easycare.modules.order.service.capital;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sokal.easycare.common.persistence.Page;
import com.sokal.easycare.common.service.CrudService;
import com.sokal.easycare.modules.order.entity.capital.PersonCapital;
import com.sokal.easycare.modules.order.dao.capital.PersonCapitalDao;

/**
 * 用户质保金Service
 * @author lihaipei
 * @version 2017-05-26
 */
@Service
@Transactional(readOnly = true)
public class PersonCapitalService extends CrudService<PersonCapitalDao, PersonCapital> {

	public PersonCapital get(String id) {
		return super.get(id);
	}
	
	public List<PersonCapital> findList(PersonCapital personCapital) {
		return super.findList(personCapital);
	}
	
	public Page<PersonCapital> findPage(Page<PersonCapital> page, PersonCapital personCapital) {
		return super.findPage(page, personCapital);
	}
	
	@Transactional(readOnly = false)
	public void save(PersonCapital personCapital) {
		super.save(personCapital);
	}
	
	@Transactional(readOnly = false)
	public void delete(PersonCapital personCapital) {
		super.delete(personCapital);
	}
	
}